home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 9813 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  6.7 KB

  1. Path: cup.portal.com!squirrel
  2. From: squirrel@cup.portal.com (Sean - Curtin)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re: simple Z2 on A1200 ???
  5. Date: 10 Apr 1996 22:20:03 -0700
  6. Organization: The Portal System (TM)
  7. Sender: pccop@unix.portal.com
  8. Distribution: world
  9. Message-ID: <151517@cup.portal.com>
  10. References: <judas.0j85@tomtec.abg.sub.org> <151428@cup.portal.com>
  11.   <1079.6672T787T1691@mbox2.swipnet.se>
  12. NNTP-Posting-Host: news1.unix.portal.com
  13.  
  14.  
  15. >peter.gabrielsson@mbox2.swipnet.se (Peter Gabrielsson)
  16. >I would be interested to c your design, I've been thinking about this myself
  17. >Thank You.
  18. >Peter.
  19.  
  20. Tell your dad that I loved Sledgehammer. 8^) 8^) (SCNR)
  21.  
  22. I'll just post it here again. Maybe it will illicit more replies/suggestions.
  23.  
  24. ***
  25.  
  26. I got bored the other day and decided to look over what it would take
  27. to make a Zorro 2 bus adapter for the 1200. After a few hours of digging
  28. through various books and taking some readings with the scope, I came up 
  29. with the following preliminary design. I would appreciate it if any 680xx
  30. gurus out there could tell me if I'm headed in the right direction. 
  31. (Dave Haynie, if you're out there this means you. ;^)
  32.  
  33. The design is for a single slot adapter much like what you would use to
  34. put a Zorro card on a 500. There is no bus buffering or arbitration yet.
  35. I want to take this one step at a time. If I can get, say, a 2091 to work
  36. on this setup as it does on a bus-adapted 500, then I'll move on to more
  37. complex designs. At this point, the less I have to debug, the better.
  38.  
  39. Don't waste your time trying to build this version because it probably 
  40. won't work...but then if you understand all the notation you could probably
  41. design your own anyway. 8^) 
  42.  
  43. Things I'm still wondering about or planning:
  44. 1. Tri-stating /UDS,/LDS, & /VMA during a DMA cycle. (/BGACK low.)
  45. 2. Confirm /UDS,/LDS, & /VMA equations.
  46. 3. /EINT1 encoding. Not a big deal.
  47. 4. Read-Modify-Write? Worth it? Implement with: /RMC * /AS(in) = /AS(out)
  48.    and force /DSACKn to byte mode?
  49. 5. Generate /DTACK TO Zorro during DMA cycle? Do memory accesses generate
  50.    /DTACK? I wouldn't think so, but you never know...
  51. 4. ? suggestions...
  52.  
  53. Nevertheless, the wiring/logic I've computed is as follows:
  54.  
  55.    A1200 Side (Pin#s)    Dir    Zorro2 Side (Pin#s)    Comments
  56. ------------------------------------------------------------------------
  57. A23-A1 (11-18,21-28,    <====>    A23-A1(59,57,58,56,54,    Straight 
  58.     31-37)                   52,47,45,43,41,    through.
  59.                        39,38,36,34,32,
  60.                        30,28,23,21,24,
  61.                        26,27,29)
  62.  
  63. D31-D16 (41-48,51-58)    <====>    D15-D0(63,65,67,69,71,    Straight
  64.                        76,78,80,82,84,    through.
  65.                        86,83,81,79,77,
  66.                        75)
  67.  
  68. +5V,+12V,-12V(10,149,    =====>    +5V,+12V,-12V(5&6,10,    Zorro pin 8=-5V.
  69.           150)                  20)    Could use 7905
  70.                             from pin 20 if nec.
  71.  
  72. Gnd(9,19,29,39,49,59,        Gnd(1-4,13,25,37,49,    Mix & match.
  73.     69,79,101,119,139)  <====>      61,73,85,87-91,
  74.                     99,100)
  75.  
  76. /IPL2-/IPL0(81-83)    <=====    /EINT7,5,4(40,42,44)    Interrupt lines.
  77.  
  78. /RST(85)        <====>    /RST,/BUSRST(53,94)    Reset.
  79.  
  80. /HLT(86)        <====>    /HLT(55)        Halt.
  81.  
  82. R/W(93)            =====>    READ(68)        
  83.  
  84. /BERR(94)        <=====    /BERR(46)        a.k.a. /BEER ;^)
  85.  
  86. /AS(91)            =====>    /AS(74)            Straight through.
  87.  
  88. ECLOCK(100)        =====>    E(50)            716 Khz clock.
  89.  
  90. FC2-0(103-105)        =====>    FC2-0(35,33,        Function codes.
  91.                       31)        Same on 000-030.
  92.  
  93. /BR(111)        <=====    /BRn(60)        Bus Request
  94.  
  95. /BG(112)        =====>    /BGn(64)        Bus Grant
  96.  
  97. /BOSS(114)        <=====    /BGACK(62)        Bus Grant Ack.
  98.  
  99. /OVR(133)        <=====    /OVR(17)        Override. ?
  100.  
  101. XRDY(134)        <=====  XRDY(18)        Wait state thing.
  102.  
  103. /INT2(137)        <=====    /INT2(19)        Interrupt 2.
  104.  
  105. /INT6(138)        <=====    /INT6(22)        "      6.
  106.  
  107. /CONFIGOUT(145)        =====>    /CFGINn(12)        Autoconfig flag.
  108.  
  109. nc(for now).        <=====    /EINT1(96)        Rarely used int.
  110.                             line. Add later.
  111.  
  112.  
  113. UDS/LDS Stuff-------------------------------------------------------------
  114. /DS(92)                            Generate u/l
  115.   LDS=    /"/DS"*"A0"*"/FPUCS(115)"+            data strobes.
  116.     /"/DS"*"SIZE1(89)"*"/FPUCS"+
  117.     /"/DS"*/"SIZE0(90)"*"/FPUCS"
  118.                             Adapted from old
  119.  /LDS= /"LDS"             =====>    /LDS(70)        Transactor LUCAS
  120.  /UDS= "/DS"+"A0"+/"/FPUCS"===>    /UDS(72)        Article.
  121.                             Don't have a table
  122.    (Quotes denote proper signal name.)            for SIZE1, SIZE0.
  123.  
  124.  
  125. DTACK Stuff---------------------------------------------------------------
  126. /DSACK1(97)        <=====    pullup<=+5V        Lock for 16 bit
  127. /DSACK2(98)        <=====  /DTACK(66)        transfers.
  128.                         Assuming:
  129.                         /DSACK 2 1
  130.                         ----------
  131.                                1 1 = Wait/noAck
  132.                                1 0 = 8 bit Ack
  133.                                0 1 = 16 bit Ack
  134.                                0 0 = 32 bit Ack
  135.                                
  136.  
  137. VMA/VPA Stuff-------------------------------------------------------------
  138.         +---+    +---+    <--74F73
  139. /{/AS(91)+/VPA}-|J Q|---|J Q|-nc            Generate /VMA.
  140.        E(100)--O|>  | +O|>  |
  141.      Gnd(101)---|K/Q|---|K/Q|==>/VMA(51)        (From Motorola
  142.         | C | |    | C |                 68000 book.P.7-2)
  143.         +---+ |    +---+                
  144. /{/AS+/VPA}-------O   |      |                
  145.               |   nc
  146.     7MHZ(Z92)-----+
  147.     See clock logic.
  148.     ^    
  149.    / \
  150.     |
  151.     |
  152. to /VMA logic.        <=====    /VPA(48)        See /VMA above.
  153.  
  154.  
  155.  
  156. Clocks--------------------------------------------------------------------
  157. CCKA(117)---------------=====>    /C1 Clock(16)        3.58 Mhz.
  158.                 (tested & verified)
  159.     +---+ 74F74a1
  160. CCKA----|D Q|                        CPUCLKA=14Mhz.
  161. (117)    |   |
  162. CPUCLKA-|>/Q|-----------=====>    /C3 Clock(14)        3.58 Mhz.
  163. (99)    +---+            (tested & verified)    +90 deg. of /C1.
  164.  
  165.      +---------+ 74F74a2
  166.      |  +---+  |
  167.      +--|D Q|--)--------=====>    7MHz(92)        7.16 MHz.
  168.     |   |  |        (tested & verified)
  169. CPUCLKA-|>/Q|--+
  170. (99)    +---+
  171.  
  172.      +---------+ 74F74b1
  173.      |  +---+  |
  174.      +--|D Q|--)--------=====>    CDAC Clock(15)        7.16 MHz.
  175.     |   |  |                    +90 deg. of 7MHz.
  176. /CPUCLKA|>/Q|--+        (calculated only)
  177.     +---+
  178. Notes:
  179. All Flip-Flop /CLEAR lines to /RST(85).
  180. Phase diff. ref.: Scope triggering on CCKA. Centered on rising edge.
  181.  
  182.  
  183. Buster Stuff. Add Later.--------------------------------------------------
  184. nc (future)        <=====    /OWN(7)            Buster stuff...
  185. nc    "        <=====    /SLAVEn(9)        n = Slot #(1-5).
  186. nc    "        <=====    /CFGOUTn(11)
  187. nc    "        =====>    /GBG(95)
  188. +5V(10)            =====>    DOE(93)
  189.  
  190.  
  191. Unused 1200 Exp. Bus Lines------------------------------------------------
  192. D15-D0(61-68,71-78)     In/Out                Unused data bits.
  193. /AVEC (96)        In                Autovector.
  194. /RMC  (106)        Out                Read/Mod/Write
  195. FPUSENSE(116)        In?                FPU stuff.
  196. /RESET            ?                Subset of /RST?
  197. /NETCS,/SPARECS(121,122)Out,Out                Mysterious chip sel.
  198. /RTCCS(123)        Out                Real time clock sel.
  199. /FLASH,/REG,/CCENA,/WAIT                PCMCIA control stuff?
  200. (124,125,126,127)    ?,?,?,?
  201. /KBRESET(128)        In/Out                Reset from keyb micro
  202. /IORD,/IOWR,/OE,/WE                    Stuff for interfacing
  203. (129,130,131,132)    Out,Out,Out,Out            Intel I/O, incl. RTC.
  204.  
  205. /ZORRO(135)        In???                WHAT IS THIS???!!!
  206.  
  207. /WIDE(136)        In???                This too???!!!
  208. SYSTEM1,SYSTEM0(141,142)Gnd.                Fancy Grounds.
  209. /xRxD,/xTxD(143,144)    In,Out                Paula Serial lines?
  210. AUDIO Gnd,AUDIO LEFT,                    Paula Audio.
  211. AUDIO RIGHT(146,147,148)Gnd,Out,Out
  212.  
  213. Whaddya think sirs?
  214. ...Sean.
  215.